package com.hutao.medical.pojo.quality;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class MedicalRecord {
    private Integer id;

    private String name;

    private String idCard;

    private String mrId;

    private String outOfficeName;

    private String outHospitalType;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date traceDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date outHospitalDate;

    private Date createTime;

    private String operator;

    private Date updateTime;

    private String uniqueKey;
    
    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getMrId() {
        return mrId;
    }

    public void setMrId(String mrId) {
        this.mrId = mrId == null ? null : mrId.trim();
    }

    public String getOutOfficeName() {
        return outOfficeName;
    }

    public void setOutOfficeName(String outOfficeName) {
        this.outOfficeName = outOfficeName == null ? null : outOfficeName.trim();
    }

    public String getOutHospitalType() {
        return outHospitalType;
    }

    public void setOutHospitalType(String outHospitalType) {
        this.outHospitalType = outHospitalType == null ? null : outHospitalType.trim();
    }

    public Date getTraceDate() {
        return traceDate;
    }

    public void setTraceDate(Date traceDate) {
        this.traceDate = traceDate;
    }

    public Date getOutHospitalDate() {
        return outHospitalDate;
    }

    public void setOutHospitalDate(Date outHospitalDate) {
        this.outHospitalDate = outHospitalDate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }


    

    public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUniqueKey() {
        return uniqueKey;
    }

    public void setUniqueKey(String uniqueKey) {
        this.uniqueKey = uniqueKey == null ? null : uniqueKey.trim();
    }

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
    
    
}